html, body {
  min-height: 100%;
  font-size: 12px;
  letter-spacing: -0.4px;
  font-family: 'DM Sans', sans-serif;
}
@media screen and (max-width: 600px) {
  html, body {
    font-size: 20px;
  }
}
body {
  line-height: 1;
  display: flex;
  flex-direction: column;
  background-color: #FFF;
}
main {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding-bottom: 60px;
  margin: 0 auto;
  font-weight: 500;
  width: 100%;
  .title-wrap {
    margin-top: 80px;
    text-align: center;
    margin-bottom: 40px;
    h2,h3 {
      font-weight: 500;
      margin-top: 32px;
      color: #606266;
      font-size: 16px;
    }
  }
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}
input[type="number"]{
  -moz-appearance: textfield;
}
a {
  color: #1890ff;
  text-decoration: none;
}
.icon {
  width: 1em; height: 1em;
  vertical-align: -0.15em;
  fill: currentColor;
  overflow: hidden;
  &.icon-country {
    font-size: 1.67rem;
    margin-left: 6px;
  }
}
.wrapper {
  max-width: 1200px;
  min-width: 1200px;
  margin: 0 auto;
  & > p {
    margin-top: 32px;
    color: #606266;
  }
}
h1 {
  font-size: 3.5rem;
  line-height: 1;
  margin-bottom: 16px;
}
h2 {
  font-size: 2.67rem;
  line-height: 1;
}
p {
  font-size: 1.33rem;
  line-height: 30px;
  font-weight: 500;
}
figure {
  display: flex;
}
button {
  cursor: pointer;
  color: #FFF;
  background-color: rgba(24,144,255,1);
  outline: none;
  border-radius:4px;
  border:none;
  font-size:1.33rem;
  font-weight:500;
  line-height:1;
  padding: 11px;
  font-family: 'DM Sans', sans-serif;
  &.btn-default {
    border: 1px solid #1890ff;
    color: #1890ff;
    background-color: #FFF;
    &:hover {
      color: #FFF;
      background-color: #1890ff;
    }
  }
  &:hover {
    background-color: rgba(24,144,255,.5);
  }
  &.small {
    padding: 8px 13px;
  }
  &.normal {
    padding: 13px 30px;
  }
}
.tab-group {
  display: flex;
  & > div {
    cursor: pointer;
    border: 1px solid #DCDFE6;
    font-size: 13px;
    color: #303133;
    font-weight: 500;
    padding: 8px 14px;
    &.is-active {
      color: #1890FF;
      border: 1px solid #1890FF;
      background-color: #E6F3FF;
    }
    &:first-child {
      border-radius: 4px 0 0 4px;
    }
    &:last-child {
      border-radius: 0 4px 4px 0;
    }
  }
}
@keyframes rotate{
  0%{
    transform: rotate(0);
  }
  50%{
    transform:rotate(180deg);
  }
  100%{
    transform: rotate(360deg);
  }
}
.rotate{
  transition: 0.1s;
  transform-origin: 50%;
  animation: rotate 1s linear infinite;  /*开始动画后无限循环，用来控制rotate*/
}
/*header*/
header {
  border-bottom: 1px solid rgba(0, 0, 0, .1);
  background-color: #FFF;
  .wrapper {
    padding: 14px 0;
    display: flex;
    align-items: center;
    position: relative;
    .search-wrap {
      position: relative;
      .input-wrap {
        margin-left: 47px;
        position: relative;
        .header-input {
          width: 312px;
          padding-left: 40px;
          padding-top: 6px;
          padding-bottom: 6px;
          border-radius: 4px;
          border: 1px solid #FFF;
          background-color: #F0F2F5;
          font-size: 14px;
          line-height: 20px;
          &::-webkit-input-placeholder {
            font-size: 14px;
            color: #909399;
            line-height: 20px;
          }
          &:focus {
            outline-color: #1890FF;
            background-color: #FFF;
          }
        }
        .iconfont {
          font-size: 15px;
          color: #909399;
          position: absolute;
          left: 16px;
          top: 8px;
        }
      }
      .search-result {
        display: none;
        z-index: 2;
        position: absolute;
        top: 100%;
        left: 48px;
        box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.06);
        overflow-y: auto;
        min-width: 352px;
        max-height: 384px;
        background-color: #FFF;
        border-radius: 3px;
        font-weight: 500;
        &::-webkit-scrollbar {
          width: 4px;
          height: 4px;
          border-radius: 3px;
        }
        &::-webkit-scrollbar-thumb {
          background-color: #e7f3fd;
        }
        .search-list {
          padding: 12px;
          .search-item {
            cursor: pointer;
            display: flex;
            padding: 12px;
            &:hover {
              border-radius: 8px;
              background-color: #F5F7FA;
            }
            .left {
              position: relative;
              img {
                width: 48px;
                height: 48px;
                border-radius: 50%;
                display: block;
              }
              .iconfont {
                background-color: #46D6EC;
                color: #FFF;
                padding: 1px;
                border-radius: 50%;
                font-size: 12px;
                position: absolute;
                right: 0;
                bottom: 0;
              }
            }
            .right {
              margin-left: 16px;
              font-size: 14px;
              display: flex;
              flex-direction: column;
              justify-content: center;
              .user-name {
                color: #303133;
              }
              .user-info {
                margin-top: 6px;
                color: #909399;
              }
            }
          }
        }
        .loading {
          height: 208px;
          position: relative;
          display: flex;
          align-items: center;
          justify-content: center;

          .iconfont {
            font-size: 20px;
          }
        }
        .no-data {
          height: 208px;
          padding: 48px 10px;
          display: flex;
          flex-direction: column;
          align-items: center;
          justify-content: center;
          font-size: 14px;
          line-height: 24px;
          color: #606266;
          word-break: break-word;
          img {
            width: 48px;
            height: 48px;
            margin-bottom: 16px;
          }
          div {
            text-align: center;
          }
        }
      }
    }
    button {
      margin-left: auto;
      font-weight: 500;
    }
    .header-tab {
      font-size: 1.33rem;
      font-weight: 500;
      margin-left: 40px;
      flex: 1;
      & > li {
        margin-left: 30px;
        float: left;
        color: #303133;
        cursor: pointer;
        line-height: 36px;
        &:first-child {
          margin-left: 0;
        }
        a {
          text-decoration: none;
          color: #303133;
        }
        &.is-active {
          a {
            color: #1890FF;
          }
        }
        &.more-tab {
          position: relative;
          display: flex;
          align-items: center;
          font-size: 16px;
          .iconfont {
            margin-left: 8px;
            font-size: 8px;
          }
          .pop-tabs {
            display: none;
            border-radius: 3px;
            box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.06);
            position: absolute;
            top: 100%;
            background-color: #FFF;
            padding: 24px;
            white-space: nowrap;
            li {
              margin-bottom: 24px;
              line-height: 1;
              &:last-child {
                margin-bottom: 0;
              }
              a {
                &:hover {
                  color: #1890FF;
                }
              }
            }
          }
        }
      }
    }
    .account-info {
      font-weight: 500;
      font-size: 14px;
      position: relative;
      .wrap {
        display: none;
        box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.06);
        border-radius: 3px;
        background-color: #FFF;
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translate(-50%);
        z-index: 1;
      }
      .account-top {
        margin: 24px 32px 0;
        padding-bottom: 16px;
        border-bottom: 1px solid #EBEEF5;
        line-height: 16px;
        .title {
          color: #303133;
        }
        .tag {
          color: #FFF;
          margin-top: 8px;
          span {
            font-size: 12px;
            padding: 0 4px;
            border-radius: 4px;
          }
          .gray {
            background-color: #C0CCDA;
          }
          .blue {
            background-color: #1890FF;
          }
          .yellow {
            background-color: #FFB23D;
          }
          .red {
            background-color: #F56C6C;
          }
        }
      }
    }
    .account-avatar {
      padding: 8px;
      background-color: #C0C4CC;
      border-radius: 50%;
      color: #FFF;

      .iconfont {
        font-size: 24px;
      }
    }
    .account-detail {
      margin: 16px 32px 0;
      padding-bottom: 16px;
      border-bottom: 1px solid #EBEEF5;
      .detail-item {
        display: flex;
        line-height: 22px;
        margin-top: 8px;
        &:first-child {
          margin-top: 0;
        }
        .label {
          color: #909399;
          white-space: nowrap;
        }
        .data {
          color: #303133;
        }
      }
    }
    .account-link {
      margin: 8px 0;
      a {
        color: #606266;
      }
      .iconfont {
        color: #909399;
      }
      .link-item {
        padding: 10px 32px;
        cursor: pointer;
        display: flex;
        align-items: center;
        .label {
          line-height: 24px;
          flex: 1;
        }
        &:hover {
          background-color: #F5F7FA;
        }
      }
    }
    .account-footer {
      padding-top: 18px;
      padding-bottom: 26px;
      margin: 0 32px;
      border-top: 1px solid #EBEEF5;
      line-height: 24px;
      color: #606266;
      cursor: pointer;
    }
    .bg-header_logo {
      width: 152px; height: 30px;
      background: url('../img/link_sprites.png') -10px -10px;
    }
  }
}
section {
  & >.wrapper {
    text-align: center;
  }
  .wrapper {
    & > img {
      margin-top: 60px;
    }
  }
}
@keyframes progess {
  0% {
    width: 0;
  }
  100% {
    width: 100%;
  }
}
.tab {
  user-select: none;
  margin-top: 80px;
  display: flex;
  justify-content: center;
  span {
    font-size: 1.5rem;
    line-height: 1;
    font-weight: 400;
  }
  div {
    &:hover {
      color: #1890FF;
    }
    &:active {
      color: #1890FF;
    }
  }
  & > div {
    cursor: pointer;
    position: relative;
    .bg-tab {
      width: 296px;
      height: 5px;
      background:rgba(231,240,248,1);
      border-radius:3px;
      margin-top: 24px;
    }
    &::before {
      content: "";
      position: absolute;
      bottom: 0;
      left: 100%;
      width: 0;
      height: 5px;
      border-radius:3px;
      background-color: rgba(24,144,255,1);
    }
    &:hover {
      &::before {
        left: 0;
      }
    }
    &.active {
      color: #1890FF;
      &::before {
        left: 0;
        animation: progess 5s alternate forwards;
      }
    }
  }
  div {
    &:first-child {
      margin-right: 32px;
    }
  }
}
.tab>div:hover ~ .tab>div::before {
  left: 0;
}
.swiper-slide {
  .tab-content {
    &.active {
      display: block;
    }
  }
  & > div {
    position: relative;
    height: 200px;
    .bg-img{
      position:absolute;
    }
  }
}
/*popover*/
.popover {
  display: none;
  position: absolute;
  text-align: left;
  left: -130px;
  bottom: 25px;
  max-width: 250px;
  padding: 10px;
  font-size: 12px;
  line-height: 1.2;
  border-radius: 4px;
  font-weight: 500;
  background-color: rgba(31,45,61,.85);
  color: white;
  word-wrap: break-word;
}
/*footer*/
footer {
  background-color: #333333;
  color: #FFF;
  .wrapper {
    display: flex;
    padding: 26px 0;
    dl {
      &:not(:first-child) {
        margin-left: 30px;
      }
      dt {
        margin-bottom: 34px;
      }
      dd {
        margin-bottom: 24px;
        a {
          text-decoration: none;
          color: white;
        }
        &:last-child {
          margin-bottom: 0;
        }
      }
    }
    .link-info {
      text-align: left;
      margin-left: auto;
      .sns-link {
        margin-top: 34px;
        display: flex;
        div {
          margin-right: 24px;
          cursor: pointer;
          &.bg-ins {
            width: 48px; height: 48px;
            background: url('../img/link_sprites.png') -10px -60px;
          }
          &.bg-Twitter {
            width: 48px; height: 48px;
            background: url('../img/link_sprites.png') -78px -60px;
          }
          &.bg-Facebook {
            width: 48px; height: 48px;
            background: url('../img/link_sprites.png') -182px -10px;
          }
        }
      }
    }
  }
  .beian-tips {
    background-color: #111111;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    color:rgba(255,255,255,0.8);
    letter-spacing:3px;
    font-size: 13px;
  }
}
a .btn {
  color: #FFF;
  padding: 11px 22px;
  background-color: #1890FF;
  border-radius: 4px;
  font-size: 1.167rem;
}
/* table */
@import 'table.css';

/*popover*/
.tx-popover {
  .iconfont {
    font-size: 14px;
    color:#C0C4CC;
    position: relative;
    margin-left: 5px;
  }
  div {
    position: absolute;
    display: none;
    text-align: left;
    left: -130px;
    bottom: 25px;
    width: 250px;
    max-width: 250px;
    padding: 10px;
    font-size: 12px;
    line-height: 1.2;
    border-radius: 4px;
    font-weight: 500;
    background-color: rgba(31, 45, 61, .85);
    color: white;
    word-wrap: break-word;
    &::after {
      content: '';
      width: 0;
      height: 0;
      border-width:5px;
      border-style:solid;
      border-color:rgba(31,45,61,.85) transparent transparent transparent;
      position: absolute;
      bottom: -10px;
      left: 131px;
    }
  }
}
.toast {
  padding: 10px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0,0,0,.7);
  color: #fff;
  font-size: 16px;
  border-radius: 4px;
}
.modal {
  position: absolute;
  z-index: 500;
  width: 400px;
  top: 200px;
  left: 50%;
  transform: translate(-50%);
  padding: 16px;
  background-color: #FFF;
  border-radius: 4px;
  font-weight: 500;
  font-size: 14px;
  line-height: 1;
  .modal-header {
    position: relative;
    text-align: right;
    .iconbuzhichi {
      font-size: 12px;
      color: #C0CCDA;
      cursor: pointer;
    }
  }
  .modal-body {
    margin-top: 12px;
    color: #303133;
  }
  .modal-footer {
    margin-top: 12px;
    margin-bottom: 12px;
    text-align: center;
    button {
      width: 90px;
      margin-left: 16px;
      &:first-child {
        margin-left: 0;
      }
    }
  }
}
@media screen and (max-width: 600px){
  .modal-scrollable {
    .modal {
      width: 60%;
    }
  }
}

.loading {
  position: absolute;
  left: 0;
  right: 0;
  height: 100vh;
  top: 0;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  .iconfont {
    font-size: 20px;
    transition: 0.1s;
    transform-origin: 50%;
    animation: rotate 1s linear infinite;
  }
}
.mask {
  position: absolute;
  top: 0;
  height: 100vh;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, .7);
  z-index: 2;
}
.no-data {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  font-size: 14px;
  color: #303133;
  .iconfont {
    font-size: 64px;
    color: #909399;
    margin-bottom: 16px;
  }
}
.right-aside {
  position: fixed;
  right: 16px;
  bottom: 300px;
  li {
    margin-top: 10px;
    position: relative;
  }
  li > div:not(.aside-sns), li > a > div {
    cursor: pointer;
    border-radius: 50%;
    height: 40px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .iconfont {
    font-size: 14px;
  }
  .copy-link {
    position: relative;
    background-color: #E7F3FF;
    color: #1890FF;
  }
  .aside-mail {
    color: #FFF;
    background-color: #1890FF;
  }
  a {
    color: #FFF;
  }
  .aside-top {
    background-color: #909399;
    &:hover {
      background-color: #303133;
    }
  }
  .aside-tw {
    background-color: #E5F6FD;
    color: rgba(3, 169, 244, 1);
  }
  .aside-fb {
    background-color: #ECEFF5;
    color: rgba(68, 96, 160, 1);
  }
  .aside-share {
    color: #FFF;
    background-color: #F56C6C;
  }
  .aside-sns {
    color: #FFF;
    display: none;
    position: absolute;
    bottom: 100%;
    padding-bottom: 10px;
  }
}
